@import '../../res/theme/xxhz.scss';

.view-inline {
  display: inline-block;
}

.scale-price-font{
  transform: scale(.95);
}

.small-goods-box {
  .sub-title {
    color: #888888;
    margin-bottom: 10px;
    margin-top: 6px;
    font-size: 24px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    /*! autoprefixer: ignore next */
    -webkit-box-orient: vertical;
    /* autoprefixer: on */
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .small-goods-box-discount {
    min-width: 50px;
    color: #fff;
    background-color: #ff2402;
    border-radius: 26px 26px 26px 0;
    text-align: center;
    padding: 2px 10px;
    font-size: 22px;
    white-space: nowrap;
    position: relative;
    top: -5Px;
  }

  .price-right {
    margin-left: 6px;
    color: #969696;
    font-size: 20px;
    text-decoration: line-through;
  }

  width: 100%;
  box-sizing: border-box;
  padding: 20px;
  padding-top: 0;
  display: flex;
  flex-wrap: wrap;

  .left, .right {
    width: 50%;
    box-sizing: border-box;
  }

  .left {
    padding-right: 10px;
  }

  .right {
    padding-left: 10px;
  }

  .good-item-box {
    width: 100%;
    margin-bottom: 20px;
    overflow: hidden;

    .labels {
      display: flex;
      flex-wrap: wrap;
      margin-top: -2px;
      margin-bottom: 6px;

      .label {
        margin-top: 8px;
        background-color: #fff;
        color: #ff9471;
        border: solid 1px #ff9471;
        border-radius: 30px;
        font-size: 22px;
        padding: 2px 10px;
        margin-right: 10px;
      }

      .label:last-child {
        margin-right: 0;
      }
    }

    .img-box {
      width: 100%;
      border-radius: 12px;
      overflow: hidden;
      flex-shrink: 0;
      position: relative;
      min-height: 60Px;

      .img {
        min-height: 274px;
      }

      .weappimg{
        min-height: 100% !important;
      }
      .h5img {
        min-height: 100% !important;
        height: 100% !important;
      }

      .top-title-box-bg {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.4);
      }

      .top-title-box {
        position: absolute;
        bottom: 15px;
        left: 15px;
        color: #fff;
        font-size: 28px;

        .go-look {
          background: #f58240;
          color: #fff;
          height: 36px;
          margin-top: 10px;
          font-size: 22px;
          line-height: 36px;
          text-align: center;
          width: 90px;
          border-radius: 32px;
        }
      }

      .img {
        width: 100%;
        display: block;
      }

      .h {
        height: 350px;
      }

      .tips {
        width: 140px;
        background-color: rgba(0, 0, 0, 0.46);
        color: white;
        font-size: 20px;
        text-align: center;
        line-height: 40px;
        position: absolute;
        top: 0;
        left: 0;
        border-bottom-right-radius: 10px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        padding: 0 10px;
        max-width: 80%;
      }
    }

    .title-box-name {
      font-size: 28px;
      margin: 12px 0 0;
      box-sizing: border-box;
      height: auto;

      .titleTop {
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
      }
    }

    .price-box-buy {
      margin-top: 6px;
      font-size: 22px;
      color: $color-font-less;
      box-sizing: border-box;
    }

    .price-box {
      position: relative;
      font-size: 24px;
      color: $color-font-less;
      display: flex;
      justify-content: space-between;
      align-items: center;
      box-sizing: border-box;

      .members-enjoy-text {
        color: $priceColor;
        font-size: 24px;
        padding: 0 6px;
        position: relative;
        top: -1Px;
      }

      .price-box-true {
        display: flex;
        align-items: baseline;
        line-height: initial;
      }

      .symbol {
        font-size: 22px;
        color: #eb582c;
      }

      .number {
        font-size: 44px;
        color: #eb582c;
        margin-right: 6px;
        margin-left: 2px;
      }

      .symbol, .number {
        font-weight: bold;
        font-family: Avenir;
      }
    }
  }

  .inline {
    display: inline;
  }
}
